package com.openswimsoftware.orm.model.query.where;

public enum WhereOperator {
	EQUAL, GREATER, GREATER_EQUAL, LESS, LESS_EQUAL, NOT_EQUAL, IN, LIKE, GLOB, BETWEEN;
	
	public String toString()
	{
		switch (this)
		{
			case EQUAL:
				return "=";
			case NOT_EQUAL:
				return "<>";
			case GREATER:
				return ">";
			case GREATER_EQUAL:
				return ">=";
			case LESS:
				return "<";
			case LESS_EQUAL:
				return "<=";
			case BETWEEN:
				return "BETWEEN";
			case GLOB:
				return "GLOB";
			case IN:
				return "IN";
			case LIKE:
				return "LIKE";
		}
		
		return super.toString();
	}
}
